<? 
//checking for customer loged or not - this is restriction script
require_once("admin/dbconnect.php");
require_once("admin/classes/check_customer_session.php");
check_customer_session(); 

?>
<?php
$customer_id = $_SESSION['ep_customer_id'];
$query_image = "SELECT customer.image_1 FROM customer where customer_id = $customer_id";
$image = mysql_query($query_image) or die(mysql_error());
$row_image = mysql_fetch_assoc($image);
$totalRows_image = mysql_num_rows($image);

$st = "SELECT * FROM customer where customer_id = $customer_id";
$rc = mysql_query($st) or die(mysql_error());


?>
<?php require_once('include/header.php'); ?>


      <div id="middle_container_for_innerpage">
      <div id="innerpage_top_image"><img src="images/images/innerpage_top_corner_820x5.jpg"  height="5" /></div> 
      <div id="middle_inner_container">
      <?php require_once('include/left_menu.php'); ?>
       <?php if($row=mysql_fetch_array($rc)){ ?> 
        <div id="inner_page_middle_data">
			<div id="page_heading">My Account</div>
                        <?php if($row['status'] == 'D'){ ?>
                        <div style="color:#000;clear:both;">
                            <h1 style="color:#000;clear:both;">Your Account has been Deleted. Your information will not appear in Search </h1>
                        </div>
                        <?php } ?>

            <div id="myaccount_photo_name">
                <div align="center" id="myaccount_photo">
                    <?if($row_image['image_1']){?>
                        <a href="profile.php?cid=<?php echo $cust_id; ?>"><img src="uploaded/thumb/<?=$row_image['image_1']?>" border="0" class="image-border1"></a>
                    <?}else{?>
                        <a href="profile.php?cid=<?php echo $row['customer_id']; ?>"><?if($row['gender']="Male"){?><img src="images/images/default_eparinay_groom.jpg" width="90" height="90" border="0" class="image_border" ><?} else{?>
				<img src="images/images/default_eparinay_bride.jpg" width="90" height="90" border="0" class="image_border" ><?}?></a>
                    <?}?>
                </div>
                <div id="myaccount_name">
                    <p>Welcome <strong><?php echo  $_SESSION['ep_customer_name']; ?></strong></p>
                    <p>Your profile id is <strong><?php echo  $_SESSION['ep_customer_id']; ?></strong></p>
                    <p>eParinay.com is totally free.</p>
                    <p><a href="profile.php?cid=<?=$_SESSION['ep_customer_id']?>">Check your profile</a></p>
                  <p><a href="change_profile.php">Update your profile</a>! &nbsp;&nbsp;<a href="change_contact_details.php">Update your Contact</a></p>
                  <p>If you not uploaded your photograph please upload your photo.</p>
                    <p><a href="change_password.php">Change your password</a></p>
                    <p><a href="my_matches.php">Profiles that matches to your expecations...</a></p>
                </div>
            </div>
            <div id="myaccount_help">
            	<fieldset>
                	<legend>How to?</legend>
                    <div id="fieldset_inside">
                    	<div id="myaccount_help1"><a href="buddhist-parinay-city-search.php">Search Profile?</a></div>
                        <div id="myaccount_help1"><a href="#">Send Message?</a></div>
                        <div id="myaccount_help1"><a href="upload_photo.php">Upload Photo?</a></div>
                        <div id="myaccount_help1"><a href="my_matches.php">Find Matches?</a></div>
                        <div id="myaccount_help1"><a href="#">Use eParinay?</a></div>
                    </div>
                </fieldset>
            </div>
            <div id="myaccount_services">
            	<p>All registered members will received following facilities:
                	<ul>
                    	<li>Send message to your Dream Life Partner</li>
                        <li>See whole profile of your Dream Life Parter</li>
                        <li>Get feedback form eParinay.com</li>
                        <li>Security tips</li>
                    </ul>
                </p>
                <p>...and many more.</p>
                <p>For further information mail us on <a href="mailto:admin@eparinay.com" class="DisplayConsulAns">admin@eparinay.com</a> , <a href="mailto:support@eparinay.com" class="DisplayConsulAns">support@eparinay.com</a></p>
                <p>or Call :  91-9420320132 - Neha Kharat</p>
       	  </div>
    
        </div>
          <?php } ?>
      </div> 
      <div id="corner_container_bottom_for_innerpage"><img src="images/images/innerpage_bottom_corner_820x10.jpg"  height="10" /></div>
    </div> 
      <!-- middle_container ends -->
    
    
        
    
<?php require_once('include/footer.php'); ?>
